package Task;

import java.util.ArrayList;
import java.util.Hashtable;

import worker.Worker;

/**
 * Interface de la m�thode reduce.
 * 
 * La classe poss�de la hashtable.
 * @author fifi
 *
 */
public interface Reduce {

	public Hashtable<String, Integer> getHashtable();
	public void setHashtable( Hashtable<String, Integer> table );
	public ArrayList<String> getListMots ();
	public boolean checkMot( String mot );
	public void ajouterOccurence( String mot , int nb );
	
	public void reduce( ArrayList<Worker> listWorkers );
	public void reduce(ArrayList<Worker> listWorkers, int monRang);
}
